package com.yikes.srb.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import com.yikes.srb.mybatis.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * yikes上传附件表
 * </p>
 *
 * @author guanrong.yin
 * @since 2024-12-03
 */
@Getter
@Setter
@TableName("srb_permit_file")
@Schema(name = "SrbPermitFile对象", description = "yikes上传附件表")
public class SrbPermitFile extends BaseEntity implements Serializable {

    @Schema(description = "PK")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "关联ID")
    @TableField("relation_id")
    private Long relationId;

    @Schema(description = "文件类型")
    @TableField("file_type")
    private String fileType;

    @Schema(description = "附件标签")
    @TableField("label_name")
    private String labelName;

    @Schema(description = "文件名称")
    @TableField("file_name")
    private String fileName;

    @Schema(description = "文件路径")
    @TableField("file_url")
    private String fileUrl;

    @Schema(description = "文件key")
    @TableField("file_key")
    private String fileKey;

    @Schema(description = "类型")
    @TableField("type")
    private String type;

}
